package com.jingyanzi.resallocation.domain;

import com.google.gson.Gson;

public class TOJson {

	public static void main(String[] args) {
		Gson gson = new Gson();
		SiteDO siteDO = new SiteDO();
		siteDO.setSiteName("韩城会馆");
		siteDO.setAddress("重庆渝中区邹容路49");
		siteDO.setSceneType(1);
		siteDO.setTel("1398320000");
		siteDO.setSceneClass(1);
		siteDO.setRegion("50010");
	
		SingleRequest<SiteDO> request = new SingleRequest<SiteDO>();
		request.setData(siteDO);
		request.setVersion(1);
		request.setToken("");
		String jsonData = gson.toJson(request);
		System.out.println(jsonData);
	}

}
